package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name         string `gorm:"type:varchar(10)"json:"name"`         //患者名称
	CardNum      string `gorm:"type:varchar(20)"json:"cardNum"`      //就诊卡号
	Type         string `gorm:"type:varchar(20)"json:"type"`         //证件类型
	IdNumber     string `gorm:"type:varchar(20)"json:"idNumber"`     //证件号码
	NickName     string `gorm:"type:varchar(10)"json:"nickName"`     //微信昵称
	Phone        string `gorm:"type:varchar(11)"json:"phone"`        //电话号码
	Img          string `gorm:"type:varchar(255)"json:"img"`         //头像
	Relationship string `gorm:"type:varchar(10)"json:"relationship"` //关系
}
